package com.knowif.dao;

import com.knowif.pojo.UserRedpacket;
import com.knowif.pojo.UserRedpacketExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRedpacketMapper {
    int countByExample(UserRedpacketExample example);

    int deleteByExample(UserRedpacketExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserRedpacket record);

    int insertSelective(UserRedpacket record);

    List<UserRedpacket> selectByExample(UserRedpacketExample example);

    UserRedpacket selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserRedpacket record, @Param("example") UserRedpacketExample example);

    int updateByExample(@Param("record") UserRedpacket record, @Param("example") UserRedpacketExample example);

    int updateByPrimaryKeySelective(UserRedpacket record);

    int updateByPrimaryKey(UserRedpacket record);
}